docs: enum cleanup
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 May 2014 10:22:13 +0000 (06:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 20 May 2014 13:54:01 +0000 (09:54 -0400)
Move GtkAttachOptions to the only place its used: GtkTable

docs/reference/gtk/gtk3-sections.txt
gtk/deprecated/gtktable.h
gtk/gtkenums.h

index aa97a4d792683cbb4ab72bf889bf266c42fc24ac..0847d495698204f0f55a287450d5e9726483e4fa 100644 (file)
@@ -3476,6 +3476,7 @@ GtkTable
 gtk_table_new
 gtk_table_resize
 gtk_table_get_size
+GtkAttachOptions
 gtk_table_attach
 gtk_table_attach_defaults
 gtk_table_set_row_spacing
@@ -6507,7 +6508,6 @@ gtk_binding_set_add_path
 <SECTION>
 <FILE>gtkenums</FILE>
 <TITLE>Standard Enumerations</TITLE>
-GtkAttachOptions
 GtkBaselinePosition
 GtkButtonBoxStyle
 GtkCornerType
index 5a35c9f7ad8dbee7dbf7d0b57e15a439280b6a6f..903ea89de4ae780be9a1c6019ed0875732473f08 100644 (file)
@@ -95,6 +95,23 @@ struct _GtkTableRowCol
   guint empty : 1;
 };
 
+/**
+ * GtkAttachOptions:
+ * @GTK_EXPAND: the widget should expand to take up any extra space in its
+ * container that has been allocated.
+ * @GTK_SHRINK: the widget should shrink as and when possible.
+ * @GTK_FILL: the widget should fill the space allocated to it.
+ *
+ * Denotes the expansion properties that a widget will have when it (or its
+ * parent) is resized.
+ */
+typedef enum
+{
+  GTK_EXPAND = 1 << 0,
+  GTK_SHRINK = 1 << 1,
+  GTK_FILL   = 1 << 2
+} GtkAttachOptions;
+
 
 GDK_DEPRECATED_IN_3_4
 GType     gtk_table_get_type         (void) G_GNUC_CONST;
index 6488a77a37e8b72f5b885147e2a685b0b0b16c5c..3cf33befd67f17dc7718ebfdbe3154c7f8c01b45 100644 (file)
@@ -98,23 +98,6 @@ typedef enum
   GTK_ARROW_NONE
 } GtkArrowType;
 
-/**
- * GtkAttachOptions:
- * @GTK_EXPAND: the widget should expand to take up any extra space in its
- * container that has been allocated.
- * @GTK_SHRINK: the widget should shrink as and when possible.
- * @GTK_FILL: the widget should fill the space allocated to it.
- *
- * Denotes the expansion properties that a widget will have when it (or its
- * parent) is resized.
- */
-typedef enum
-{
-  GTK_EXPAND = 1 << 0,
-  GTK_SHRINK = 1 << 1,
-  GTK_FILL   = 1 << 2
-} GtkAttachOptions;
-
 /**
  * GtkBaselinePosition:
  * @GTK_BASELINE_POSITION_TOP: Align the baseline at the top